.bordered {
    border-top: dotted 1px black;
    border-bottom: solid 2px black;
}
#menu a {
    .bordered;
    color: #111;
    }
.post a {
    .bordered;
    color: red;
    }
